<div [formGroup]="form">
  <div nz-form-item [style.margin-left.px]="formChild.marginLeft">
    <div nz-form-label>
      <label for="{{formChild.key}}">{{formChild.label}}</label>
    </div>
    <div nz-form-control [ngSwitch]="formChild.controlType">
      <nz-input style="width: 200px" *ngSwitchCase="'text'" formControlName="{{formChild.key}}">
        <ng-template #addOnAfter *ngIf="formChild.addOnAfter">{{formChild.addOnAfter}}</ng-template>
      </nz-input>

      <nz-select style="width: 200px;" [id]="formChild.key" *ngSwitchCase="'select'" formControlName="{{formChild.key}}">
        <nz-option *ngFor="let option of formChild.options" [nzLabel]="option.label" [nzValue]="option.value"></nz-option>
      </nz-select>
    </div>
  </div>
</div>